#ifndef MODELINFO_H
#define MODELINFO_H

#include <QTabWidget>
#include <QListWidgetItem>
#include <QStringList>
#include "ui_ModelInfo.h"

class QModelViewer;
class ModelInfo : public QTabWidget
{
	Q_OBJECT

public:
	ModelInfo(QWidget *parent = 0);
	~ModelInfo();
	void setQModelViewer(QModelViewer* pModelViewer);
	void setMaterialNames(const QStringList& nameList);
	void setSkeletonName(const QString& skeletonName);
	void setAnimations(const QStringList& aniNameList);
protected slots:
	void onCopyMatBtnClick();
	void onCopySkeletonBtnClick();
	void onAniItemClicked(QListWidgetItem* item);
private:
	Ui::ModelInfo ui;
	QModelViewer* m_pModelViewer;
	
};

#endif // MODELINFO_H
